package cn.opopopo.design_pattern_learn.创建型.abstract_factory;

// 4. 具体工厂
class WindowsFactory implements GUIFactory {
    public Button createButton() {
        return new WindowsButton();
    }

    public TextBox createTextBox() {
        return new WindowsTextBox();
    }
}